gtkpapersize: Reformat #if preprocessor commands
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 20 Nov 2013 17:33:03 +0000 (17:33 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 2 Dec 2013 10:36:26 +0000 (10:36 +0000)
This eliminates some false positive warnings from scan-build, which was
not interpreting the #ifs and hence warning about unbalanced #endifs.

https://bugzilla.gnome.org/show_bug.cgi?id=712760

gtk/gtkpapersize.c

index 1ab622e1949135b67345cb7d45e34f2b0809bebc..cece2bed3665f24b4b23820aedd076e73988b6a4 100644 (file)
@@ -30,7 +30,8 @@
 #include "gtkprintoperation.h"  /* for GtkPrintError */
 #include "gtkintl.h"
 
-#ifdef G_OS_UNIX                /* _gtk_load_custom_papers() only on Unix so far  */
+/* _gtk_load_custom_papers() only on Unix so far  */
+#ifdef G_OS_UNIX
 #include "gtkcustompaperunixdialog.h"
 #endif
 
@@ -475,7 +476,8 @@ gtk_paper_size_get_paper_sizes (gboolean include_custom)
 {
   GList *list = NULL;
   guint i;
-#ifdef G_OS_UNIX                /* _gtk_load_custom_papers() only on Unix so far  */
+/* _gtk_load_custom_papers() only on Unix so far  */
+#ifdef G_OS_UNIX
   if (include_custom)
     {
       GList *page_setups, *l;